package com.zy.entity.bs;

import javax.persistence.Table;
import com.zy.entity.base.BaseEntity;
import com.zy.pojo.annotation.Comment;
import java.math.BigDecimal;
import java.math.BigDecimal;
@Table(name = "bs_order_detail")
public class OrderDetail extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@Comment("订单")
	private Long orderId;
	@Comment("商品")
	private Long goodsId;
	@Comment("个数")
	private Integer number;
	@Comment("实付金额")
	private BigDecimal price;
	@Comment("实付积分")
	private BigDecimal integral;

	public Long getOrderId() {
		return orderId;
	}
	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}
	public Long getGoodsId() {
		return goodsId;
	}
	public void setGoodsId(Long goodsId) {
		this.goodsId = goodsId;
	}
	public Integer getNumber() {
		return number;
	}
	public void setNumber(Integer number) {
		this.number = number;
	}
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	public BigDecimal getIntegral() {
		return integral;
	}
	public void setIntegral(BigDecimal integral) {
		this.integral = integral;
	}

}